package com.hxkj.service;

import com.github.pagehelper.PageInfo;
import com.hxkj.domain.po.Advertisement;
import com.hxkj.domain.po.SiteUniversal;
import com.platform.common.domain.result.ResultDataStruct;
import com.platform.common.domain.result.ResultMessageStruct;
import com.platform.common.domain.to.PageTo;

import java.util.List;
import java.util.Map;

/**
 *chenfanghzou
 */
public interface AdvertisementService {


    ResultDataStruct<Advertisement> get(Advertisement advertisement) throws Exception;

    ResultMessageStruct save(Advertisement advertisement) throws Exception;

    ResultMessageStruct modify(Advertisement advertisement) throws Exception;

    ResultMessageStruct remove(Advertisement advertisement) throws Exception;

    PageInfo getListWithPage(Advertisement advertisement, PageTo pageTo) throws Exception;

    List<Advertisement> getList(Advertisement advertisement) throws Exception;

    ResultMessageStruct modifySortNum(Map<String, Object> map) throws Exception;
}
